<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>游戏后台管理系统</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<div class="container mt-4">
    <h1>#(welcome)</h1>
    <p>当前时间：#(serverTime)</p>

    <div class="card mt-4">
        <div class="card-header">
            <h5 class="card-title">服务器列表</h5>
        </div>
        <div class="card-body">
            <ul class="list-group">
                #for(server : serverList)
                <li class="list-group-item d-flex justify-content-between align-items-center">
                    #(server)
                    <span class="badge bg-primary rounded-pill">在线11</span>
                </li>
                #end
            </ul>
        </div>
    </div>

    <!-- 一个简单的表单示例 -->
    <div class="card mt-4">
        <div class="card-header">
            <h5 class="card-title">发送全服公告</h5>
        </div>
        <div class="card-body">
            <form action="/sendNotice" method="post">
                <div class="mb-3">
                    <textarea class="form-control" name="noticeContent" rows="3" placeholder="请输入公告内容..."></textarea>
                </div>
                <button type="submit" class="btn btn-primary">发送公告</button>
            </form>
        </div>
    </div>
</div>
</body>
</html>
